
<!DOCTYPE html>
<html lang="">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>{{.AppName}} App List</title>
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body>
<h1 class="text-center">{{.AppName}} App List</h1>

<table class="table table-responsive table-striped table-hover">
    <thead>
    <tr>
        <th>No</th>
        <th></th>
        <th>App Name</th>
        <th>Version</th>
        <th style="text-align: right;">Install App</th>
        <th style="text-align: right;">Download IPA</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td width="5%;">
            <h6 style="line-height:5;">1</h6>
        </td>
        <td class="col-sm-1" style="vertical-align: middle;">
            <img src="{{.Cover}}" class="img-responsive img-rounded" alt="Image">
        </td>
        <td class="col-sm-4">
            <h4 style="line-height:3;">{{.AppName}}</h4>
        </td>
        <td class="col-sm-4">
            <h4 style="line-height:3;">{{.AppVersion}}</h4>
        </td>
        <td align="right" style="vertical-align: middle;">
            <a class="btn btn-default" href="itms-services://?action=download-manifest&url={{.Plist}}" role="button">Install</a>
        </td>
        <td align="right" style="vertical-align: middle;">
            <a class="btn btn-info" href="{{.IPA}}" role="button">Download</a>
        </td>
    </tr>
    </tbody>
</table>
</body>
</html>